package com.qf.service.impl;

import com.qf.dao.QfClassifyRepository;
import com.qf.pojo.entity.QfClassify;
import com.qf.pojo.resp.BaseResp;
import com.qf.service.QfClassifyServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class QfClassifyServiceImpl implements QfClassifyServcie {
    @Autowired
    QfClassifyRepository qfClassifyRepository;
    @Override
    public BaseResp findAll() {
        List<QfClassify> all = qfClassifyRepository.findAll();
        return new BaseResp(1,"success",all,null);
    }
}
